<#include "/common/head.ftl">

<@showTitle title="${i18n.getMessage('moveUpTest')} > ${i18n.getMessage('list')}">
	<a href="#" onclick="cc('student/showAddMoveUpTest.sgt?studentId=${(student.id)!}')">${i18n.getMessage('add')}</a>
	- <a href="#" onclick="cc('student/showInfoStudent.sgt?id=${(student.id)!}')">${i18n.getMessage('student')}</a>
</@showTitle>

<br/>

<@display.table id="listTable" name="student.moveUpTests" sort="list" defaultsort="1" pagesize="20">
	<@display.column title="${i18n.getMessage('level')}" property="level.name" sortable="true" style="width:100px;text-align:center"></@display.column>
	<@display.column title="${i18n.getMessage('testDate')}" property="date" format="{0, date, ${i18n.getMessage('format.date')}}" sortable="true" style="width:80px;text-align:center"></@display.column>
	<@display.column title="${i18n.getMessage('listening')}" sortable="true" style="width:60px;text-align:center">${(listTable.listeningScore)!}</@display.column>
	<@display.column title="${i18n.getMessage('speaking')}" sortable="true" style="width:60px;text-align:center">${(listTable.speakingScore)!}</@display.column>
	<@display.column title="${i18n.getMessage('grammar')}" sortable="true" style="width:60px;text-align:center">${(listTable.grammarScore)!}</@display.column>
	<@display.column title="${i18n.getMessage('reading')}" sortable="true" style="width:60px;text-align:center">${(listTable.readingScore)!}</@display.column>
	<@display.column title="${i18n.getMessage('writing')}" sortable="true" style="width:60px;text-align:center">${(listTable.writtenScore)!}</@display.column>
	<@display.column title="${i18n.getMessage('receiptNo')}" style="text-align:center">${(listTable.receiptNo)!}</@display.column>
	<@display.column title="${i18n.getMessage('edit')}" style="text-align:center"><img src="images/edit.gif" onclick="cc('student/showInfoMoveUpTest.sgt?id=${listTable.id}')" style="cursor:pointer"/></@display.column>
	<@display.column title="${i18n.getMessage('report')}" style="text-align:center"><img src="images/report.gif" onclick="pp('student/showReportMoveUpTest.sgt?id=${listTable.id}')" style="cursor:pointer"/></@display.column>
	<@display.column title="${i18n.getMessage('delete')}" style="text-align:center"><img src="images/delete.gif" onclick="if(confirm('${i18n.getMessage('dialog.delete')}')) { cc('student/deleteMoveUpTest.sgt?id=${listTable.id}&studentId=${listTable.student.id}'); }" style="cursor:pointer"/></@display.column>
</@display.table>

<br/><br/>